package cn.ulric.db;

import java.util.Collections;
import java.util.List;

/**
 * @author Ulric
 */
public class Model {

    public void save() {

    }

    public void delete() {

    }

    private static void _save(Model model) {

    }

    public <T extends Model> List<T> all() {
        return Collections.emptyList();
    }

    public int execute(String sql){
        return 0;
    }

    public <T extends Model> T withPK(String pkName,Object pkValue){
        return null;
    }
}
